package com.fowo.api.model.nav.after.sell.order.reissue;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ContentStyle;
import com.alibaba.excel.enums.poi.HorizontalAlignmentEnum;
import javax.validation.constraints.*;
import lombok.Getter;
import lombok.Setter;

/** 订单管理补发信息 导入导出辅助模型 */
@Getter
@Setter
public class NavAfterSellOrderReissueExcelPo {

  @ContentStyle(
    horizontalAlignment = HorizontalAlignmentEnum.LEFT,
    dataFormat = 49
  )
  @ExcelProperty(value = "所属订单管理售后工单")
  private String parentNavAfterSellOrderPlatformOrderId;

  @ExcelIgnore
  @ExcelProperty(value = "所属订单管理售后工单")
  private Long parentNavAfterSellOrder;

  @Size(max = 50, message = "平台单号长度不能超过20")
  @ContentStyle(
    horizontalAlignment = HorizontalAlignmentEnum.LEFT,
    dataFormat = 49
  )
  @ExcelProperty(value = "平台单号")
  private String platformOrderId;

  @Size(max = 50, message = "买家姓名长度不能超过20")
  @ContentStyle(
    horizontalAlignment = HorizontalAlignmentEnum.LEFT,
    dataFormat = 49
  )
  @ExcelProperty(value = "买家姓名")
  private String buyerName;

  @Size(max = 50, message = "买家邮箱长度不能超过20")
  @ContentStyle(
    horizontalAlignment = HorizontalAlignmentEnum.LEFT,
    dataFormat = 49
  )
  @ExcelProperty(value = "买家邮箱")
  private String buyerEmail;

  @ContentStyle(
    horizontalAlignment = HorizontalAlignmentEnum.LEFT,
    dataFormat = 49
  )
  @ExcelProperty(value = "客选物流")
  private String deliveryLogisticsName;

  @ExcelIgnore
  @ExcelProperty(value = "客选物流")
  private Long deliveryLogistics;

  @ExcelProperty(value = "客付运费")
  private java.math.BigDecimal tradeFreight;

  @Size(max = 50, message = "收件人长度不能超过20")
  @ContentStyle(
    horizontalAlignment = HorizontalAlignmentEnum.LEFT,
    dataFormat = 49
  )
  @ExcelProperty(value = "收件人")
  private String deliveryReceipt;

  @Size(max = 50, message = "邮编长度不能超过20")
  @ContentStyle(
    horizontalAlignment = HorizontalAlignmentEnum.LEFT,
    dataFormat = 49
  )
  @ExcelProperty(value = "邮编")
  private String deliveryZipCode;

  @Size(max = 50, message = "电话长度不能超过20")
  @ContentStyle(
    horizontalAlignment = HorizontalAlignmentEnum.LEFT,
    dataFormat = 49
  )
  @ExcelProperty(value = "电话")
  private String deliveryPhone;

  @ContentStyle(
    horizontalAlignment = HorizontalAlignmentEnum.LEFT,
    dataFormat = 49
  )
  @ExcelProperty(value = "国家/地区")
  private String deliveryCountryCountry;

  @ExcelIgnore
  @ExcelProperty(value = "国家/地区")
  private Long deliveryCountry;

  @Size(max = 50, message = "省/州长度不能超过20")
  @ContentStyle(
    horizontalAlignment = HorizontalAlignmentEnum.LEFT,
    dataFormat = 49
  )
  @ExcelProperty(value = "省/州")
  private String deliveryProvince;

  @Size(max = 50, message = "城市长度不能超过20")
  @ContentStyle(
    horizontalAlignment = HorizontalAlignmentEnum.LEFT,
    dataFormat = 49
  )
  @ExcelProperty(value = "城市")
  private String deliveryCity;

  @Size(max = 50, message = "区/县长度不能超过20")
  @ContentStyle(
    horizontalAlignment = HorizontalAlignmentEnum.LEFT,
    dataFormat = 49
  )
  @ExcelProperty(value = "区/县")
  private String deliveryArea;

  @Size(max = 50, message = "门牌号长度不能超过20")
  @ContentStyle(
    horizontalAlignment = HorizontalAlignmentEnum.LEFT,
    dataFormat = 49
  )
  @ExcelProperty(value = "门牌号")
  private String deliveryHouseNumber;

  @Size(max = 50, message = "公司名长度不能超过20")
  @ContentStyle(
    horizontalAlignment = HorizontalAlignmentEnum.LEFT,
    dataFormat = 49
  )
  @ExcelProperty(value = "公司名")
  private String deliveryCompany;

  @ContentStyle(
    horizontalAlignment = HorizontalAlignmentEnum.LEFT,
    dataFormat = 49
  )
  @ExcelProperty(value = "地址类型")
  private String deliveryAddressType;

  @Size(max = 50, message = "详细地址1长度不能超过20")
  @ContentStyle(
    horizontalAlignment = HorizontalAlignmentEnum.LEFT,
    dataFormat = 49
  )
  @ExcelProperty(value = "详细地址1")
  private String deliveryAddress1;

  @Size(max = 50, message = "详细地址2长度不能超过20")
  @ContentStyle(
    horizontalAlignment = HorizontalAlignmentEnum.LEFT,
    dataFormat = 49
  )
  @ExcelProperty(value = "详细地址2")
  private String deliveryAddress2;

  @Size(max = 50, message = "详细地址3长度不能超过20")
  @ContentStyle(
    horizontalAlignment = HorizontalAlignmentEnum.LEFT,
    dataFormat = 49
  )
  @ExcelProperty(value = "详细地址3")
  private String deliveryAddress3;

  @ContentStyle(
    horizontalAlignment = HorizontalAlignmentEnum.LEFT,
    dataFormat = 49
  )
  @ExcelProperty(value = "发货仓库")
  private String deliveryWarehouseName;

  @ExcelIgnore
  @ExcelProperty(value = "发货仓库")
  private Long deliveryWarehouse;

  @ContentStyle(
    horizontalAlignment = HorizontalAlignmentEnum.LEFT,
    dataFormat = 49
  )
  @ExcelProperty(value = "物流方式")
  private String deliveryLogisticsChannelExpressName;

  @ExcelIgnore
  @ExcelProperty(value = "物流方式")
  private Long deliveryLogisticsChannel;
}
